package com.bskj.bms.bean.vo;



/**
 * Created by mocaijin on 27/01/2018.
 */
public class UserCouponReleaseRespVo {
    private Integer shopId;
    private String shopNane;
    private Integer usedCount;
    private Integer totalCount;
    private String parkingShopName;
    private String parkingShopLocation;
    private String parkingShopOwnerName;
    
    private Integer balance;
    private String couponLimitType;
    
    private String totalMsg;
    
    private String jsonStr;
	
	public void setTotalMsg(Integer couponMoneyType,String totalMsg ,Integer money ,Integer usedCount ,int totalMoney,Integer count) {
		if(totalMsg == null){
			if(couponMoneyType ==1){
				this.totalMsg = money/10+"元券：领取"+count+"张;使用"+usedCount+"张;优惠了" + totalMoney/10 + "元";
			}else {
				this.totalMsg = "全免券：领取"+count+"张;使用"+usedCount+"张;优惠了" + totalMoney/10 + "元";
			}
		}else {
			if(couponMoneyType ==1){
				this.totalMsg =totalMsg + "  |  " +  money/10+"元券：领取"+count+"张;使用"+usedCount+"张;优惠了" + totalMoney/10 + "元";
			}else {
				this.totalMsg =totalMsg + "  |  " +  "全免券：领取"+count+"张;使用"+usedCount+"张;优惠了" + totalMoney/10 + "元";
			}
		}
	}

	public String getTotalMsg() {
		return totalMsg;
	}


	public String getShopNane() {
		return shopNane;
	}

	public void setShopNane(String shopNane) {
		this.shopNane = shopNane;
	}

	public String getCouponLimitType() {
		return couponLimitType;
	}

	public void setCouponLimitType(String couponLimitType) {
		this.couponLimitType = couponLimitType;
	}

	public Integer getBalance() {
		return balance;
	}

	public void setBalance(Integer balance) {
		this.balance = balance;
	}

	public String getJsonStr() {
        return jsonStr;
    }

    public void setJsonStr(String jsonStr) {
        this.jsonStr = jsonStr;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getUsedCount() {
        return usedCount;
    }

    public void setUsedCount(Integer usedCount) {
        this.usedCount = usedCount;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    public String getParkingShopName() {
        return parkingShopName;
    }

    public void setParkingShopName(String parkingShopName) {
        this.parkingShopName = parkingShopName;
    }

    public String getParkingShopLocation() {
        return parkingShopLocation;
    }

    public void setParkingShopLocation(String parkingShopLocation) {
        this.parkingShopLocation = parkingShopLocation;
    }

    public String getParkingShopOwnerName() {
        return parkingShopOwnerName;
    }

    public void setParkingShopOwnerName(String parkingShopOwnerName) {
        this.parkingShopOwnerName = parkingShopOwnerName;
    }
}
